// 响应接口
export interface DeleteByIdRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: Record<string, unknown>;
}

// 参数接口
export interface QueryParams {
    /* */
    pageNum?: number;

    /* */
    pageSize?: number;
}

// 响应接口
export interface QueryRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: {
        /* */
        id: number;

        /* */
        date: Record<string, unknown>;

        /* */
        trainCode: string;

        /* */
        carriageIndex: number;

        /* */
        row: string;

        /* */
        col: string;

        /* */
        seatType: string;

        /* */
        carriageSeatIndex: number;

        /* */
        sell: string;

        /* */
        createTime: Record<string, unknown>;

        /* */
        updateTime: Record<string, unknown>;
    }[];

    /* */
    total: number;
}

// 参数接口
export interface SaveParams {
    /* */
    id?: number;

    /* */
    date: Record<string, unknown>;

    /* */
    trainCode: string;

    /* */
    carriageIndex: number;

    /* */
    row: string;

    /* */
    col: string;

    /* */
    seatType: string;

    /* */
    carriageSeatIndex: number;

    /* */
    sell: string;

    /* */
    createTime?: Record<string, unknown>;

    /* */
    updateTime?: Record<string, unknown>;
}

// 响应接口
export interface SaveRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: Record<string, unknown>;
}
